home *** CD-ROM | disk | FTP | other *** search
/ Champak 33 / Volume 33 - JOGO DISK .iso / Games / puzzle_safari.swf / scripts / __Packages / Game_class.as < prev    next >
Text File  |  2007-01-15  |  6KB  |  157 lines

  1. var ┬º\x01┬º = 663;
  2. if(eval("\x01") == 663)
  3. {
  4.    set("\x01",eval("\x01") + 19);
  5.    ┬º┬ºpush(true);
  6.    ┬º┬ºpush(false);
  7.    ┬º┬ºpush(false);
  8.    ┬º┬ºpush(true);
  9.    while(true)
  10.    {
  11.       if(┬º┬ºpop())
  12.       {
  13.       }
  14.       if(┬º┬ºpop())
  15.       {
  16.       }
  17.       if(┬º┬ºpop())
  18.       {
  19.          break;
  20.       }
  21.       ┬º┬ºpush(true);
  22.       ┬º┬ºpush(false);
  23.    }
  24.    if(!eval("\x01")["\x02"])
  25.    {
  26.       eval("\x01")["\x02"] extends eval(┬º┬ºconstant(12));
  27.       var _loc2_ = eval("\x01")["\x02"] = function()
  28.       {
  29.          super();
  30.          this["\x03"] = [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,0]];
  31.          this["\x04"] = [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,0]];
  32.          this[┬º┬ºconstant(4)] = new ┬º\┬º\┬ºconstant(5)┬º();
  33.          _root[┬º┬ºconstant(9)][┬º┬ºconstant(10)](eval("\x02")[┬º┬ºconstant(7)] + ┬º┬ºconstant(8),┬º┬ºconstant(6),5);
  34.          _root[┬º┬ºconstant(11)]();
  35.       }[┬º┬ºconstant(13)];
  36.       _loc2_[┬º┬ºconstant(14)] = function()
  37.       {
  38.          this[┬º┬ºconstant(15)] = false;
  39.          this[┬º┬ºconstant(16)] = this["\x04"];
  40.          this[┬º┬ºconstant(17)] = 0;
  41.          this[┬º┬ºconstant(18)] = getTimer();
  42.          this[┬º┬ºconstant(19)] = 0;
  43.          var _loc3_ = 0;
  44.          while(_loc3_ < this[┬º┬ºconstant(20)])
  45.          {
  46.             var _loc2_ = 0;
  47.             while(_loc2_ < this[┬º┬ºconstant(21)])
  48.             {
  49.                if(_loc3_ < this[┬º┬ºconstant(20)] - 1 || _loc2_ < this[┬º┬ºconstant(21)] - 1)
  50.                {
  51.                   this[┬º┬ºconstant(22)](this[┬º┬ºconstant(16)][_loc3_][_loc2_],_loc3_,_loc2_);
  52.                }
  53.                else
  54.                {
  55.                   this[┬º┬ºconstant(16)][_loc3_][_loc2_] = 0;
  56.                }
  57.                _loc2_ = _loc2_ + 1;
  58.             }
  59.             _loc3_ = _loc3_ + 1;
  60.          }
  61.          this[┬º┬ºconstant(23)]();
  62.       };
  63.       _loc2_[┬º┬ºconstant(22)] = function(tileNumber, row, column)
  64.       {
  65.          _root[┬º┬ºconstant(27)][┬º┬ºconstant(10)](┬º┬ºconstant(25) + tileNumber + ┬º┬ºconstant(26),┬º┬ºconstant(24),tileNumber);
  66.          _root[┬º┬ºconstant(27)][┬º┬ºconstant(24)][┬º┬ºconstant(28)] = this[┬º┬ºconstant(29)] + column * this[┬º┬ºconstant(30)];
  67.          _root[┬º┬ºconstant(27)][┬º┬ºconstant(24)][┬º┬ºconstant(31)] = this[┬º┬ºconstant(32)] + row * this[┬º┬ºconstant(33)];
  68.          _root[┬º┬ºconstant(27)][┬º┬ºconstant(24)][┬º┬ºconstant(6)][┬º┬ºconstant(28)] = (- column) * this[┬º┬ºconstant(30)];
  69.          _root[┬º┬ºconstant(27)][┬º┬ºconstant(24)][┬º┬ºconstant(6)][┬º┬ºconstant(31)] = (- row) * this[┬º┬ºconstant(33)];
  70.          _root[┬º┬ºconstant(27)][┬º┬ºconstant(24)][┬º┬ºconstant(34)] = tileNumber;
  71.          _root[┬º┬ºconstant(27)][┬º┬ºconstant(24)][┬º┬ºconstant(35)] = row;
  72.          _root[┬º┬ºconstant(27)][┬º┬ºconstant(24)][┬º┬ºconstant(36)] = column;
  73.          _root[┬º┬ºconstant(27)][┬º┬ºconstant(24)][┬º┬ºconstant(37)] = ┬º┬ºconstant(38) + tileNumber + ┬º┬ºconstant(26);
  74.       };
  75.       _loc2_[┬º┬ºconstant(23)] = function()
  76.       {
  77.          var _loc4_ = undefined;
  78.          var _loc3_ = 0;
  79.          while(_loc3_ < 20000)
  80.          {
  81.             _loc4_ = eval(┬º┬ºconstant(42))[┬º┬ºconstant(43)](eval(┬º┬ºconstant(39))[┬º┬ºconstant(40)]() * this[┬º┬ºconstant(41)]);
  82.             _root[┬º┬ºconstant(27)][┬º┬ºconstant(38) + _loc4_ + ┬º┬ºconstant(26)][┬º┬ºconstant(44)]();
  83.             _loc3_ = _loc3_ + 1;
  84.          }
  85.       };
  86.       _loc2_[┬º┬ºconstant(45)] = function()
  87.       {
  88.          var _loc4_ = undefined;
  89.          var _loc3_ = undefined;
  90.          var _loc7_ = undefined;
  91.          var _loc6_ = undefined;
  92.          if(this[┬º┬ºconstant(46)])
  93.          {
  94.             this[┬º┬ºconstant(14)]();
  95.             this[┬º┬ºconstant(46)] = false;
  96.          }
  97.          else if(!this[┬º┬ºconstant(15)])
  98.          {
  99.             this[┬º┬ºconstant(19)] = getTimer() - this[┬º┬ºconstant(18)];
  100.             _loc4_ = String(this[┬º┬ºconstant(19)] / 60000)[┬º┬ºconstant(47)](0,2);
  101.             if(_loc4_[┬º┬ºconstant(47)](1,2) == ┬º┬ºconstant(48))
  102.             {
  103.                _loc4_ = 0 + _loc4_[┬º┬ºconstant(47)](0,1);
  104.             }
  105.             _loc3_ = String(this[┬º┬ºconstant(19)] / 1000 % 60)[┬º┬ºconstant(47)](0,2);
  106.             if(_loc3_[┬º┬ºconstant(47)](1,2) == ┬º┬ºconstant(48))
  107.             {
  108.                _loc3_ = 0 + _loc3_[┬º┬ºconstant(47)](0,1);
  109.             }
  110.             _loc7_ = _loc4_;
  111.             _loc6_ = _loc3_;
  112.             _root[┬º┬ºconstant(49)][┬º┬ºconstant(50)](_loc7_,_loc6_);
  113.          }
  114.          else if(this[┬º┬ºconstant(51)] + 3000 < getTimer())
  115.          {
  116.             var _loc5_ = eval(┬º┬ºconstant(42))[┬º┬ºconstant(43)](this[┬º┬ºconstant(52)] - (this[┬º┬ºconstant(19)] / 500 + this[┬º┬ºconstant(17)] / 1));
  117.             if(_loc5_ < 0)
  118.             {
  119.                _loc5_ = 0;
  120.             }
  121.             this[┬º┬ºconstant(46)] = true;
  122.             eval(┬º┬ºconstant(53))[┬º┬ºconstant(54)] = String(_loc5_);
  123.             _root[┬º┬ºconstant(55)]();
  124.          }
  125.       };
  126.       _loc2_[┬º┬ºconstant(16)] = new ┬º\┬º\┬ºconstant(56)┬º();
  127.       _loc2_[┬º┬ºconstant(46)] = true;
  128.       _loc2_[┬º┬ºconstant(15)] = false;
  129.       _loc2_[┬º┬ºconstant(51)] = 0;
  130.       _loc2_[┬º┬ºconstant(17)] = 0;
  131.       _loc2_[┬º┬ºconstant(19)] = 0;
  132.       eval("\x01")["\x02"] = function()
  133.       {
  134.          super();
  135.          this["\x03"] = [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,0]];
  136.          this["\x04"] = [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,0]];
  137.          this[┬º┬ºconstant(4)] = new ┬º\┬º\┬ºconstant(5)┬º();
  138.          _root[┬º┬ºconstant(9)][┬º┬ºconstant(10)](eval("\x02")[┬º┬ºconstant(7)] + ┬º┬ºconstant(8),┬º┬ºconstant(6),5);
  139.          _root[┬º┬ºconstant(11)]();
  140.       }[┬º┬ºconstant(7)] = ┬º┬ºconstant(57);
  141.       _loc2_[┬º┬ºconstant(29)] = 60;
  142.       _loc2_[┬º┬ºconstant(32)] = 65;
  143.       _loc2_[┬º┬ºconstant(20)] = 4;
  144.       _loc2_[┬º┬ºconstant(21)] = 4;
  145.       _loc2_[┬º┬ºconstant(30)] = 90;
  146.       _loc2_[┬º┬ºconstant(33)] = 90;
  147.       _loc2_[┬º┬ºconstant(41)] = 15;
  148.       _loc2_[┬º┬ºconstant(52)] = 10000;
  149.       ┬º┬ºpush(┬º┬ºconstant(58)(eval("\x01")["\x02"][┬º┬ºconstant(13)],null,1));
  150.    }
  151.    ┬º┬ºpop();
  152. }
  153. else if(eval("\x01") == 682)
  154. {
  155.    set("\x01",eval("\x01") - 295);
  156. }
  157.